Skip to content

Conversation

@lovromazgon
Copy link
Contributor

@lovromazgon lovromazgon commented Jun 6, 2025

Description

This PR adds support for writing records to tables with composite keys. Note that this removes the key setting in the destination connector. I don't see why we need it, since we require the key to contain structured data, which is a map, and the key in the map represents the column name (the same as in .Payload.After).

Also I noticed a flaky test in the logrepl package where a closed channel was closed. Turns out that closing of that channel is not even necessary, no reader relies on that channel being closed, so I just removed that to make it safer.

Quick checks:

  • I have followed the Code Guidelines.
  • There is no other pull request for the same update/change.
  • I have written unit tests.
  • I have made sure that the PR is of reasonable size and can be easily reviewed.

@lovromazgon lovromazgon requested a review from a team as a code owner June 6, 2025 13:26
Copy link
Contributor

@raulb raulb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only left a naming suggestion. Approving in the meantime anyways.

@lovromazgon lovromazgon merged commit 65aa0d7 into main Jun 10, 2025
3 checks passed
@lovromazgon lovromazgon deleted the lovro/composite-key branch June 10, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants